package com.yunban.project.api.text_check.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author: lijiajun
 * @date: 2024-11-22
 * @version: 1.0
 */
@Data
@Schema(description = "讯飞纠错接口响应解析")
public class XunFeiResponse implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    @Schema(description = "错误位置")
    private int pos;
    @Schema(description = "错误文本")
    private String cur;
    @Schema(description = "纠正文本")
    private String correct;
    @Schema(description = "更详细的错误类型")
    private String description;
}
